<ion-header>
    <ion-toolbar color="primary">
        <ion-buttons slot="start">
            <ion-back-button></ion-back-button>
        </ion-buttons>
        <ion-title>新闻动态</ion-title>
    </ion-toolbar>
</ion-header>

<ion-content>
    <div class="sideContent">
        <ion-slides pager="true" loop="true" autoplay="3000">
            <ion-slide *ngFor="let item of slideItems">
                <img src="{{item.cpicpath}}"
                    (click)="toWebView(item.cskiplinks,item.ccontent)" />
            </ion-slide>
        </ion-slides>
    </div>
    <ion-card>
        <ion-card-header>
            <ion-card-title class="cardTitle">企业动态
            </ion-card-title>
            <a class="more" (click)="goToMore(1)">更多></a>
        </ion-card-header>
        <ion-card-content>
            <ion-item *ngFor="let b of bitems;let i=index"
                (click)="goToDetails(b.iid)">
                <ion-label>{{i+1}}.{{b.ctitle}}</ion-label>
            </ion-item>
        </ion-card-content>
    </ion-card>
    <ion-card>
        <ion-card-header>
            <ion-card-title class="cardTitle">优惠政策
            </ion-card-title>
            <a class="more" (click)="goToMore(2)">更多></a>
        </ion-card-header>
        <ion-card-content>
            <ion-item *ngFor="let c of citems;let i=index"
                (click)="goToDetails(c.iid)">
                <ion-label>{{i+1}}.{{c.ctitle}}</ion-label>
            </ion-item>
        </ion-card-content>
    </ion-card>
</ion-content>